package com.jacobson.core.widget.security.mgt

import com.jacobson.core.widget.security.Subject
import com.jacobson.core.widget.security.SubjectContext

/**
 * ================================================
 *  Subject工厂
 *  @author Wucz on 2018/8/7 9:24
 * ================================================
 */

interface SubjectFactory {
    /**
     * 创建Subject对象
     * @param context 上下文
     * @return subject工厂
     */
    fun createSubject(context: SubjectContext): Subject
}